package com.sh.data.engine.repository.dao.normalization.modeldesign.dimfact.entity;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sh.data.engine.repository.dao.base.EngineBaseModel;
import lombok.*;

/**
 * @author : changkong
 * @date : 2022/1/10
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("tb_dimfact")
@EqualsAndHashCode(callSuper = true)
public class DimFactEntity extends EngineBaseModel<DimFactEntity> {

    private String name;

    private String describe;

    // 主题
    private Long themeId;

    // 绑定的模型
    private Long tblPropId;

    // 所在的项目
    private Long projectId;

    // 区分dim还是fact
    private String type;

    @TableLogic(value = "1", delval = "0")
    private Integer rowState;

    // 页面顺序
    private Integer pageIndex;
}
